//
//  SignModel.m
//  BOSS-SOOC
//
//  Created by houshijia on 16/9/5.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "SignModel.h"

@implementation SignModel

+(NSMutableArray*)addModels:(NSArray*)array{
    NSMutableArray *models = [NSMutableArray array];
    for (NSDictionary *obj in array) {
        SignModel *model = [SignModel new];
        [model setValuesForKeysWithDictionary:obj];
        //        NSLog(@"%@",item.postdate);
        [models addObject:model];
    }
    return models;
}

+ (SignModel *)modelWithDic:(NSDictionary *)dic{
    
    return [[SignModel alloc]initWithDic:dic];
}

- (id)initWithDic:(NSDictionary *)dic{
    
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}
@end
